/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package TranSport;

import java.io.Serializable;

/**
 *
 * @author Administrator
 */
public class Login implements Serializable {
    public String UserName;
    public String Password;
    public int Port;
    public String Ip;
    
    public Login()
    {
        UserName = "";
        Password = "";
        Ip = "";
        Port = 0;
    }
    public Login( String user , String Pass , int port,String ip)
    {
        this.UserName = user;
        this.Password = Pass;
        this.Port = port;
        this.Ip = ip;
    }
    public void Copy(Login log)
    {
        this.Ip = log.Ip;
        this.Password = log.Password;
        this.UserName = log.UserName;
        this.Port = log.Port;
    }
}
